package com.dazhi.boot.web.servlet.context;

import com.dazhi.boot.ApplicationContextFactory;
import org.springframework.context.ConfigurableApplicationContext;

public class ServletWebServerApplicationContextFactory implements ApplicationContextFactory {
    @Override
    public ConfigurableApplicationContext create() {
        return createContext();
    }

    private ConfigurableApplicationContext createContext() {
        return new ServletWebServerApplicationContext();
    }
}
